﻿@using Models;
@model MvcPager.Page<lotterylog>
<table class="table-default">
    <thead>
        <tr>
            <td class="width-150">中奖编号</td>
            <td class="width-210">中奖时间</td>
            <td class="width-300">用户昵称</td>
        </tr>
    </thead>
    <tbody>
        @if (Model.PageList != null && Model.PageList.Count > 0)
        {
            foreach (var item in Model.PageList)
            {
                <tr class="ajax-item">
                    <td>@item.id</td>
                    <td>@item.createdate.ToString("yyyy-MM-dd HH:mm")</td>
                    <td>@item.nickname</td>
                </tr>
            }
        }
    </tbody>
</table>
@{Html.RenderPartial("_Pager", Model);}